package cn.tedu.kuafu.mapper;

import cn.tedu.kuafu.entity.Admin;
import cn.tedu.kuafu.entity.User;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdminMapper {
    @Select("select * from admin where username=#{username}")
    Admin selectByUsername(String username);

}
